package com.github.cyf.entity;

import com.github.cyf.entity.group.SequentialGroup;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author chenyifan
 * @create 2024-05-07 22:15
 */
@Data
public class SequentialUserVo {

    @NotBlank(groups = SequentialGroup.First.class, message = "v1不能为空")
    private String v1;

    @NotBlank(groups = SequentialGroup.Second.class, message = "v2不能为空")
    public String v2;
}